import org.codehaus.groovy.grails.commons.GrailsApplication;

import grails.util.GrailsUtil;

class BootStrap {
	
	def fixtureLoader
	def fakerService

    def init = { servletContext ->
		    //GrailsApplication
		    boolean isProd = GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION
		
			// Create fixtures for non-production environment. E.g. Test and development.
			if (!isProd) {
				//fixtureLoader.load('dataFixture')    // Ommit the .groovy extension!
			}
		
    }
    def destroy = {
    }
}
